<script>
function myform_submit() {

    return true;
}
</script>

<!--top结束-->
<div class="mian">
	<div class="mian1">
		<div class="mian2">
			<!--left start-->
            <?php $this->load->view('defaults/common/left');?>
			<!--left end-->
			<!--right start-->
			<div class="right">
				<!--breadcrumb start-->
				<div class="righta"><?=$this->breadcrumb->generateHTML();?> </div>
				<!--breadcrumb end-->
				<!-- contents start -->
				<div id="contents" style="width: 1200px;">
					<div id="contents_container" style="width: 1200px;">
					<form action="<?=blang_url('products/Product_new/'.$post_type)?>" method="post" name="productform" onsubmit="return myform_submit()" autocomplete="off" >
						<table cellpadding="0" cellspacing="0" id="table_forms" border="1" style="width: 1200px;">
							<tr>
						      <td class="forms_left">维修单号:</td>
						      <td ><?=$productFirst['order_num']?></td>
						    </tr>
                            <tr>
                                <td class="forms_left">产品ID:</td>
                                <td ><?=$productFirst['id']?></td>
                            </tr>
                            <tr>
                                <td class="forms_left">产品类型:</td>
                                <td ><?=$productFirst['category_name']?></td>
                            </tr>
                            <tr>
                                <td class="forms_left">产品SKU:</td>
                                <td ><?=$productFirst['productSku']?></td>
                            </tr>
                            <tr>
                                <td class="forms_left" >品牌客户信息:</td>
                                <td>
                                    <?=$productFirst['brandCustomerNum']?>&nbsp;<?=$productFirst['brandCustomerName']?>
                                </td>
                            </tr>
                            <tr>
                                <td class="forms_left" >客户备注:</td>
                                <td>
                                    <?=trim($productFirst['customerRemark'])?>
                                </td>
                            </tr>
                            <tr>
                                <td class="forms_left" >质保类型:</td>
                                <td >
                                    <input type="radio" name="inWarranty" value="0"  <?=$ckdInWarranty['0']?>  />保外&nbsp;&nbsp;
                                    <input type="radio" name="inWarranty" value="1"  <?=$ckdInWarranty['1']?> />保内
                                </td>
                            </tr>
                            <tr>
                                <td class="forms_left" >客户描述是否一致:</td>
                                <td >
                                    <input type="radio" name="descriptionConsistent" value="Yes"  <?=$ckdDesCst['Yes']?>  />是&nbsp;&nbsp;
                                    <input type="radio" name="descriptionConsistent" value="No"  <?=$ckdDesCst['No']?> />否
                                </td>
                            </tr>
                            <tr>
                                <td class="forms_left" >产品成色:</td>
                                <td >
                                    <input type="radio" name="physicalAppearance" value="brand new" <?=$ckdDamage['brand new']?> />全新&nbsp;&nbsp;
                                    <input type="radio" name="physicalAppearance" value="2nd hand excellent cond" <?=$ckdDamage['2nd hand excellent cond']?> />九成新&nbsp;&nbsp;
                                    <input type="radio" name="physicalAppearance" value="2nd hand 50% cond" <?=$ckdDamage['2nd hand 50% cond']?> />五成新&nbsp;&nbsp;
                                    <input type="radio" name="physicalAppearance" value="2nd hand bad cond" <?=$ckdDamage['2nd hand bad cond']?> />严重损坏&nbsp;&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="forms_left" >随机附件:</td>
                                <td >
                                    <?php foreach ($accessoriesList as $rs):?>
                                        <input type="checkbox" name="accessories[]" value="<?=$rs['name_en']?>" <?=$ckdAccessories[$rs['name_en']]?> ><?=$rs['name_ch']?>
                                    <?php endforeach;?>
                                </td>
                            </tr>
                            <tr>
                                <td class="forms_left" >故障:</td>
                                <td >
                                    <table>
                                    <?php foreach ($faultList as $key=>$rs):?>
                                    <?php if(($key%5)==0){?>
                                        <tr>
                                    <?php }?>
                                    <td>
                                        <input type="checkbox" name="fault[]" value="<?=$rs['name_en']?>"  <?=$ckdFault[$rs['name_en']]?> ><?=$rs['name_ch']?>
                                    </td>
                                    <?php if(($key%5)==4){?>
                                        </tr>
                                    <?php } ?>
                                    <?php endforeach;?>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td class="forms_left" >检测费用:</td>
                                <td ><input name="overhaulAmount"  value="<?=$productFirst['overhaulAmount']?>" onkeyup="this.value=this.value.replace(/[^\d.]/g,'')" /></td>
                            </tr>
                            <tr>
                                <td class="forms_left" >客服备注:</td>
                                <td >
                                    <textarea name="csRemark" rows="3" cols="40"><?=$productFirst['csRemark']?></textarea>
                                </td>
                            </tr>

						    <tr>
						      <td align="center" colspan="2" class="sub_padding_right">
                                <input name="id" type="hidden" value="<?=$productFirst['id']?>" />
								<input type="submit" value="<?=lang('public_tj')?>" name="submits" />
						      </td>
						    </tr>
					   </table>
					</form>
				   </div>
				</div>
				<!-- contents end -->
			</div>
			<!--right end-->
		</div>
	</div>
</div>

